<h1>Listing parts_groups</h1>

<table>
  <tr>
    <th>Name</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @parts_groups.each do |parts_group| %>
  <tr>
    <td><%= parts_group.name %></td>
    <td><%= link_to 'Show', parts_group %></td>
    <td><%= link_to 'Edit', edit_parts_group_path(parts_group) %></td>
    <td><%= link_to 'Destroy', parts_group, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Parts group', new_parts_group_path %>
